/*
package com.ruoyi.goods.config;

import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/r")
public class ConsumerTest {

    @Autowired
    private RabbitTemplate rabbitTemplate;

    @RequestMapping("/m")
    public AjaxResult textMq() {
        rabbitTemplate.convertAndSend("x", "aa", "你好");
        return AjaxResult.success();
    }

    public void testModel() {

    }
}
*/
